{% extends "../../_basic.twig" %}

{% block header %}
    {# <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>     #}
{% endblock %}

{% block body %}
    <form action="">
        <div>
            <div>ie9会变成自定义</div>
            <input id="test" type="number" value="4" polyfill-input-type="number" min="1" max="8" />
            <div>原生</div>
            <input id="nativenum" type="number" value="4" min="1" max="8" />
        </div>
        <link rel="stylesheet" href="./ie9.css?v={{random()}}">
        <script src="./ie9.js?v={{random()}}"></script>
        <!--[if IE 9]>
        <script>
            _numberPolyfill.polyfills.push(new _numberPolyfill(document.getElementById("test")));           
        </script>
        <![endif]-->
    </form>
{% endblock %}